import java.util.ArrayList;
import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86138
 * Date: 2024-11-26
 * Time: 15:31
 */
public class demo1 {
    public static void main(String[] args) {
        ArrayList arrayList = new ArrayList();
        ArrayList arrayList2 = new ArrayList();

        arrayList.add(1);
        arrayList.add(2);
        arrayList.add(38);
        arrayList.add(42);
        arrayList.add(53);
        arrayList.add(66);
        arrayList.add(35);
        //arrayList.remove(3);
        arrayList.add(0,55);
        System.out.println(arrayList.size());
        System.out.println(arrayList.isEmpty());
        System.out.println(arrayList.contains(99));
        System.out.println(arrayList);
        System.out.println(Arrays.toString(arrayList.toArray()));
        arrayList.addAll(0,arrayList2);
        char ch = ' ';
        System.out.println((ch + "").getClass());
    }
}
